Manager: Memory Management Utilities



While Carbon supports most of the Memory Management Utilities, there are changes to functions that assume a 68K runtime environment.

* Functions that flush caches on 68K processors (such as FlushInstructionCache, FlushDataCache, and FlushCodeCacheRange) are no longer supported.

* Functions such as SetA5 or SetCurrentA5 do nothing when running in Mac OS X. However, these functions should work normally when running in Mac OS 8.

* The functions GetMMUMode and SwapMMUMode are not supported because all PowerPC applications use 32-bit addressing, even if they are not Carbon–compliant.

* The SysEnvirons function is no longer supported since the Gestalt Manager can provide the same information. You should call the functions FindFolder and Gestalt instead.

Supported  CallDeferredTaskProc

Supported  DeferredTaskProcPtr

Supported  Delay

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  Dequeue

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  DisposeDeferredTaskUPP

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  DTInstall

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  Enqueue

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  FlushCodeCache

68K-specific.

Unsupported  FlushCodeCacheRange

68K-specific. Not available in Carbon.

Unsupported  FlushDataCache

68K-specific.

Unsupported  FlushInstructionCache

68K-specific. Use MakeDataExecutable on PowerPC machines.

Unsupported  GetMMUMode

Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.

Supported  GetSysPPtr

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  InitUtil

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  InvokeDeferredTaskUPP

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  IsMetric

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  MakeDataExecutable

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  NewDeferredTaskUPP

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  ReadLocation

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SetA5

68K-specific. Does nothing in PowerPC native code. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SetCurrentA5

68K-specific. Does nothing in PowerPC native code. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SwapDataCache

Supported  SwapInstructionCache

Supported  SwapMMUMode

Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.

Unsupported  SysEnvirons

Uses working directories. Use FindFolder and Gestalt instead. Not available in Carbon.

Supported  TickCount

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  WriteLocation

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  WriteParam

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 8/1/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.